import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 注册lazy
import lazyPlugin from 'vue3-lazy'
// 引入写好的 loading指令 进行全局注册
import loadingDirective from './components/base/loading/drective'
// 引入全局样式
import './assets/scss/index.scss'
createApp(App).use(store).use(router).use(lazyPlugin, {
    loading: require('@/assets/images/lazy.jpg')
}).directive('loading', loadingDirective).mount('#app')
